import { _decorator, Component, director, Node } from 'cc';
import { Globals } from './Globals';
const { ccclass, property } = _decorator;

@ccclass('Start')
export class Start extends Component {
    start() {
        // 资源加载好了再跳转到Main
        Globals.init().then(() => {
            director.loadScene("Main");
            // director.loadScene('Home');
        })
    }
}


